﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
    [DataContract]
    public class RegionShapesInViewSTO
    {
        private string _errorMessage;
        private int _insetLayerListIndex;
        private int _layerID;
        private double _zoomLevel;
        private string _name;
        private double _north;
        private double _east;
        private double _south;
        private double _west;
        private byte[] _compressedRegionList;


        public RegionShapesInViewSTO()
        {
            _layerID = -1;
            _errorMessage = "";
        }

        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }

        [DataMember]
        public int insetLayerListIndex
        {
            get { return _insetLayerListIndex; }
            set { _insetLayerListIndex = value; }
        }

        [DataMember]
        public int layerID
        {
            get { return _layerID; }
            set { _layerID = value; }
        }

        [DataMember]
        public double zoomLevel
        {
            get { return _zoomLevel; }
            set { _zoomLevel = value; }
        }


        [DataMember]
        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        [DataMember]
        public double north
        {
            get { return _north; }
            set { _north = value; }
        }

        [DataMember]
        public double east
        {
            get { return _east; }
            set { _east = value; }
        }

        [DataMember]
        public double south
        {
            get { return _south; }
            set { _south = value; }
        }

        [DataMember]
        public double west
        {
            get { return _west; }
            set { _west = value; }
        }

        [DataMember]
        public byte[] compressedRegionList
        {
            get { return _compressedRegionList; }
            set { _compressedRegionList = value; }
        }

    }
}
